package com.o2o.app.userCenter;

/**
 * 注册界面
 */
import com.o2o.app.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class UserRegisterActivity extends Activity {
	/**
	 * 下一步按钮
	 */
	private Button btn_fpass;

	/**
	 * 返回按钮
	 */
	private Button btn_back;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.user_register);

		initViews();
	}

	private void initViews() {
		btn_fpass = (Button) findViewById(R.id.btn_fpass);
		btn_fpass.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(UserRegisterActivity.this,
						UserRegisterPhoneActivity.class);

				startActivity(intent);
			}
		});

		btn_back = (Button) findViewById(R.id.btn_back);
		btn_back.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				finish();
			}
		});
	}
}
